(import modelo.*)
(deftemplate Movil (declare (from-class Movil)))

(defrule seleccionaSegmentoMedioPeso
    ?p <- (Movil {segmentoPeso <> medio && segmentoPeso <> nil})
    =>
    (retract ?p))